import java.util.Scanner;
import java.util.regex.Pattern;
import java.util.regex.Matcher;

public class MatchQueryKeyWord {
	
	public String getKeyWord(String QueryString){
		String pattern = "hasLocatedIn" ;
		Pattern queryPattern = Pattern.compile(pattern);
		Matcher queryMatcher = queryPattern.matcher(QueryString);
		if(queryMatcher.find()){
			System.out.println(queryMatcher.toString());
			return pattern;
		}else
		{
			return "false";
		}
		
		
	}

}
